package com.wutoon.etl.mapper;

import com.wutoon.etl.pojo.DataSourceDO;

public class DataSourceManage {

    public DataSourceDO queryByCode(String sourceCode) {
        /**
         * CREATE TABLE `data_source` (
         *   `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
         *   `data_source_code` varchar(128) NOT NULL COMMENT '数据源编码',
         *   `data_source_name` varchar(128) NOT NULL COMMENT '数据源名称',
         *   `jdbc_url` varchar(512) NOT NULL COMMENT '数据源url',
         *   `username` varchar(64) NOT NULL COMMENT '用户名',
         *   `password` varchar(50) NOT NULL COMMENT '密码',
         *   `driver` varchar(256) NOT NULL COMMENT '驱动',
         *   `remark` varchar(50) DEFAULT NULL COMMENT '备注对接人等信息',
         *   `create_time` timestamp NOT NULL COMMENT '创建时间',
         *   `update_time` timestamp NULL DEFAULT NULL COMMENT '更新时间',
         *   PRIMARY KEY (`id`),
         *   UNIQUE KEY `data_source_code` (`data_source_code`)
         * )
         *  DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC
         * COMMENT = '数据源基本信息表';
         */
        return null;
    }
}
